public class PilotTest {
    public static void main(String[] args) {
        Pilot k=new Pilot("66kg","李强","全能飞行员");
        Boat s=new Boat("万吨","远洋货轮","启动","远航");
        Plane p=new Plane("三百吨","波音客机","点火","起飞");
        Tank t=new Tank("50吨","主站坦克","前进","开火");
        Tuolaji l=new Tuolaji("0.6吨","农用拖拉机","耕地","运送农产品");
        Car c=new Car("0.9吨","赛车","加速","飘移");
        k.play(s);
        k.play(p);
        k.play(t);
        k.play(l);
        k.play(c);
    }
}
